package com.kc.business.domain;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * @ClassName KcBusinessGoodsView
 * @Description 商家商品视图
 * @Author wangdongliang
 * @Date 2021/5/10 13:39
 */
@Data
public class KcBusinessGoodsView {
    /*商品id*/
    @Id
    private Integer id;
    /*商品名称*/
    private String goodsName;
    /*图片*/
    private String thumb;
    /*图片列表*/
    @Transient
    private String[] thumbList;
    /*状态*/
    private Integer status;
    /*发布时间*/
    private String createTime;
    /*商家名称*/
    private String businessName;
    /*主类别id*/
    private Integer mainTypeId;
    /*商家电话*/
    private String mobile;
    /*价格*/
    private String price;
    /*主类别名称*/
    private String mainTypeName;
}
